package com.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bean.User;

public interface LoginMapper {

	User login(@Param("username")String username,@Param("password")String password);

	int register(@Param("username")String username,@Param("password")String password);

	List<User> list_user();

	List<User> list_userby_userid(int parseInt);

	void edit_user(User user);

	int delete_user(int id);
   
}
